package com.tom;

public class Product {
	String p_number;    //商品編號-料號
	String p_desc;	//商品規格
	String p_name;	//商品品名
	String p_class;	//商品類別-等級
	int price;		//價格-定價
	int selling;  	//價格-售價
	int stock_qty;	//產品原庫存數量
	int loan_qty;	//產品出倉數量
	int usable;	//產品目前可用數量
	String maping; 	//圖檔
	
	public Product(){
		
	}
	
	
	public Product(String p_number, String p_desc, String p_name, String p_class,
			int price, int selling, int stock_qty, int loan_qty,
			int usable, String maping) {
		super();
		this.p_number = p_number;
		this.p_desc = p_desc;
		this.p_name = p_name;
		this.p_class = p_class;
		this.price = price;
		this.selling = selling;
		this.stock_qty = stock_qty;
		this.loan_qty = loan_qty;
		this.usable = usable;
		this.maping = maping;
	}





	public String getP_number() {
		return p_number;
	}



	public void setP_number(String p_number) {
		this.p_number = p_number;
	}



	public String getP_desc() {
		return p_desc;
	}





	public void setP_desc(String p_desc) {
		this.p_desc = p_desc;
	}



	public String getP_name() {
		return p_name;
	}



	public void setP_name(String p_name) {
		this.p_name = p_name;
	}



	public String getP_class() {
		return p_class;
	}



	public void setP_class(String p_class) {
		this.p_class = p_class;
	}



	public int getPrice() {
		return price;
	}



	public void setPrice(int price) {
		this.price = price;
	}



	public int getSelling() {
		return selling;
	}



	public void setSelling(int selling) {
		this.selling = selling;
	}



	public int getStock_qty() {
		return stock_qty;
	}



	public void setStock_qty(int stock_qty) {
		this.stock_qty = stock_qty;
	}



	public int getLoan_qty() {
		return loan_qty;
	}



	public void setLoan_qty(int loan_qty) {
		this.loan_qty = loan_qty;
	}



	public int getUsable() {
		return usable;
	}



	public void setUsable(int usable) {
		this.usable = usable;
	}



	public String getMaping() {
		return maping;
	}



	public void setMaping(String maping) {
		this.maping = maping;
	}
}

	
